import Vue from 'vue';
import VueI18n from 'vue-i18n';

Vue.use(VueI18n);

export default new VueI18n({
  locale: 'zh-CN',
  messages: {
    'zh-CN': Object.assign(require('iview/src/locale/lang/zh-CN').default, require('./zh-CN').default),
    'en-US': Object.assign(require('iview/src/locale/lang/en-US').default, require('./en-US').default)
  }
});